<?php
declare (strict_types = 1);

namespace app\validate;

use think\Validate;


/**
 * 验证器类DemoPostsContents
 *
 * // 验证器类生成
 * php think make:validate DemoPostsContents
 *
 * Class DemoPostsContents
 * @package app\validate
 * @author ^2_3^王尔贝
 */
class DemoPostsContents extends Validate
{
    /**
     * 定义验证规则
     * 格式：'字段名'	=>	['规则1','规则2'...]
     *
     * @var array
     */	
	protected $rule = [];
    
    /**
     * 定义错误信息
     * 格式：'字段名.规则名'	=>	'错误信息'
     *
     * @var array
     */	
    protected $message = [];
}
